package com.question.java.json.serialization;

import java.time.LocalDate;

public class SerializationTest {
    public static void main(String[] args) {
        User user = new User();
        user.setUsername("Joe");
        user.setPassword("123456");
        user.setAge(30);
        user.setBirthday(LocalDate.now());
        String jsonStr = JsonSerialization.serialized(user);
        System.out.println(jsonStr);
    }
}
